<?php

namespace app\validate;

use think\Validate;

class WorkTimeValidate extends Validate
{

    /**
     * ExportUserStatistics
     * @return WorkTimeValidate
     */
    public function sceneExportUserStatistics(): WorkTimeValidate
    {
        return $this->append([

        ]);
    }

    /**
     * GetUserWorkTimes
     * @return WorkTimeValidate
     */
    public function sceneGetUserWorkTimes()
    {
        return $this->append('work_date_from', 'require|date')
            ->append('work_date_to', 'require|date')
            ->append('user_id_list', 'require|array');
    }
}
